package com.ecfront.pojo;

import java.util.Set;

/**
 * 商铺内部分类，目前只允许分一类
 * @version 1.0
 * @author zhufeng
 */
public class ShopGoodsSort {
	
	private int id;//分类ID
	private String name;//分类名称
	//以下是一对多关联
	private Shop shop;//分类所属商铺
	//以下是多对一关联
	private Set goodsImpl;//分类所拥有的商品
	
	
	public ShopGoodsSort(){}
	public ShopGoodsSort(int id, String name, Shop shop, Set goodsImpl) {
		super();
		this.id = id;
		this.name = name;
		this.shop = shop;
		this.goodsImpl = goodsImpl;
	}
	public Set getGoodsImpl() {
		return goodsImpl;
	}
	public void setGoodsImpl(Set goodsImpl) {
		this.goodsImpl = goodsImpl;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
}
